package com.eshop.modules.activity.vo;

import java.math.BigDecimal;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import java.io.Serializable;

@ApiModel(value = "YxStoreCouponQueryVo对象", description = "优惠券表查询参数")
public class StoreCouponQueryVo implements Serializable
{
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("优惠券表ID")
    private Integer id;
    @ApiModelProperty("优惠券名称")
    private String title;
    @ApiModelProperty("兑换消耗积分值")
    private Integer integral;
    @ApiModelProperty("兑换的优惠券面值")
    private BigDecimal couponPrice;
    @ApiModelProperty("最低消费多少金额可用优惠券")
    private BigDecimal useMinPrice;
    @ApiModelProperty("优惠券有效期限（单位：天）")
    private Integer couponTime;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("状态（0：关闭，1：开启）")
    private Boolean status;
    @ApiModelProperty("兑换项目添加时间")
    private Integer addTime;
    @ApiModelProperty("是否删除")
    private Boolean isDel;
    
    public Integer getId() {
        return this.id;
    }
    
    public String getTitle() {
        return this.title;
    }
    
    public Integer getIntegral() {
        return this.integral;
    }
    
    public BigDecimal getCouponPrice() {
        return this.couponPrice;
    }
    
    public BigDecimal getUseMinPrice() {
        return this.useMinPrice;
    }
    
    public Integer getCouponTime() {
        return this.couponTime;
    }
    
    public Integer getSort() {
        return this.sort;
    }
    
    public Boolean getStatus() {
        return this.status;
    }
    
    public Integer getAddTime() {
        return this.addTime;
    }
    
    public Boolean getIsDel() {
        return this.isDel;
    }
    
    public void setId(final Integer id) {
        this.id = id;
    }
    
    public void setTitle(final String title) {
        this.title = title;
    }
    
    public void setIntegral(final Integer integral) {
        this.integral = integral;
    }
    
    public void setCouponPrice(final BigDecimal couponPrice) {
        this.couponPrice = couponPrice;
    }
    
    public void setUseMinPrice(final BigDecimal useMinPrice) {
        this.useMinPrice = useMinPrice;
    }
    
    public void setCouponTime(final Integer couponTime) {
        this.couponTime = couponTime;
    }
    
    public void setSort(final Integer sort) {
        this.sort = sort;
    }
    
    public void setStatus(final Boolean status) {
        this.status = status;
    }
    
    public void setAddTime(final Integer addTime) {
        this.addTime = addTime;
    }
    
    public void setIsDel(final Boolean isDel) {
        this.isDel = isDel;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StoreCouponQueryVo)) {
            return false;
        }
        final StoreCouponQueryVo other = (StoreCouponQueryVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$integral = this.getIntegral();
        final Object other$integral = other.getIntegral();
        Label_0102: {
            if (this$integral == null) {
                if (other$integral == null) {
                    break Label_0102;
                }
            }
            else if (this$integral.equals(other$integral)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$couponTime = this.getCouponTime();
        final Object other$couponTime = other.getCouponTime();
        Label_0139: {
            if (this$couponTime == null) {
                if (other$couponTime == null) {
                    break Label_0139;
                }
            }
            else if (this$couponTime.equals(other$couponTime)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$sort = this.getSort();
        final Object other$sort = other.getSort();
        Label_0176: {
            if (this$sort == null) {
                if (other$sort == null) {
                    break Label_0176;
                }
            }
            else if (this$sort.equals(other$sort)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$status = this.getStatus();
        final Object other$status = other.getStatus();
        Label_0213: {
            if (this$status == null) {
                if (other$status == null) {
                    break Label_0213;
                }
            }
            else if (this$status.equals(other$status)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$addTime = this.getAddTime();
        final Object other$addTime = other.getAddTime();
        Label_0250: {
            if (this$addTime == null) {
                if (other$addTime == null) {
                    break Label_0250;
                }
            }
            else if (this$addTime.equals(other$addTime)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$isDel = this.getIsDel();
        final Object other$isDel = other.getIsDel();
        Label_0287: {
            if (this$isDel == null) {
                if (other$isDel == null) {
                    break Label_0287;
                }
            }
            else if (this$isDel.equals(other$isDel)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$title = this.getTitle();
        final Object other$title = other.getTitle();
        Label_0324: {
            if (this$title == null) {
                if (other$title == null) {
                    break Label_0324;
                }
            }
            else if (this$title.equals(other$title)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$couponPrice = this.getCouponPrice();
        final Object other$couponPrice = other.getCouponPrice();
        Label_0361: {
            if (this$couponPrice == null) {
                if (other$couponPrice == null) {
                    break Label_0361;
                }
            }
            else if (this$couponPrice.equals(other$couponPrice)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$useMinPrice = this.getUseMinPrice();
        final Object other$useMinPrice = other.getUseMinPrice();
        if (this$useMinPrice == null) {
            if (other$useMinPrice == null) {
                return true;
            }
        }
        else if (this$useMinPrice.equals(other$useMinPrice)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StoreCouponQueryVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $integral = this.getIntegral();
        result = result * 59 + (($integral == null) ? 43 : $integral.hashCode());
        final Object $couponTime = this.getCouponTime();
        result = result * 59 + (($couponTime == null) ? 43 : $couponTime.hashCode());
        final Object $sort = this.getSort();
        result = result * 59 + (($sort == null) ? 43 : $sort.hashCode());
        final Object $status = this.getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        final Object $addTime = this.getAddTime();
        result = result * 59 + (($addTime == null) ? 43 : $addTime.hashCode());
        final Object $isDel = this.getIsDel();
        result = result * 59 + (($isDel == null) ? 43 : $isDel.hashCode());
        final Object $title = this.getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        final Object $couponPrice = this.getCouponPrice();
        result = result * 59 + (($couponPrice == null) ? 43 : $couponPrice.hashCode());
        final Object $useMinPrice = this.getUseMinPrice();
        result = result * 59 + (($useMinPrice == null) ? 43 : $useMinPrice.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StoreCouponQueryVo(id=" + this.getId() + ", title=" + this.getTitle() + ", integral=" + this.getIntegral() + ", couponPrice=" + this.getCouponPrice() + ", useMinPrice=" + this.getUseMinPrice() + ", couponTime=" + this.getCouponTime() + ", sort=" + this.getSort() + ", status=" + this.getStatus() + ", addTime=" + this.getAddTime() + ", isDel=" + this.getIsDel() + ")";
    }
}
